#include"tool.h"
int f(int n)
{
    int p;
    for(p=3;p<=n/2;p+=2)
    {
        if(prime(p)&&prime(n-p))
            return 1;
    }
    return 0;
}
int main()
{
    LONG start=clock();
    int s=6,e=20000000;
    int n;
    for(n=s;n<=e;n+=2)
    {
        if(!f(n))
            puts("Goldbach is wrong!");
    }
    LONG end=clock();
    printf("%.3f seconds\n",(end-start)/1000.0);

}


